﻿#region header

//  ***************************************************************************
// *                                LICENSE
//  ***************************************************************************
//  * "Haplous" .NET Simple 2D Game Framework
//  * 
//  * Copyright © Jonathan Evans 2014-2014
//  * 
//  * This program is free software; you can redistribute it and/or
//  * modify it under the terms of the GNU General Public License
//  * as published by the Free Software Foundation; either version 2
//  * of the License, or (at your option) any later version.
//  * 
//  * This program is distributed in the hope that it will be useful,
//  * but WITHOUT ANY WARRANTY; without even the implied warranty of
//  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  * GNU General Public License for more details.
//  * 
//  * You should have received a copy of the GNU General Public License
//  * along with this program; if not, write to the Free Software
//  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
//  * 
//  ***************************************************************************
//  * 
//  * Contact: opencollar@googlemail.com
//  * 
//  * Website: http://haplous.codeplex.com/
//  *
//  * NuGet:   http://www.nuget.org/packages/haplous/
//  *
//  * File:    Haplous/Haplous/IGraphic.cs
//  *
//  ***************************************************************************

#endregion

using JetBrains.Annotations;

namespace Haplous
{
    /// <summary>
    ///     The interface shared by all fundamental objects that represent graphical elements.
    /// </summary>
    public interface IGraphic : IElement
    {
        /// <summary>
        ///     Defines the way in which this element and the picture on it are rendered.
        /// </summary>
        [NotNull]
        Visualization Visualization { get; }

        /// <summary>
        ///     The source of the picture to display on this element.
        /// </summary>
        [NotNull]
        PictureSource PictureSource { get; }
    }
}